package hutech.ksv.service;

import hutech.ksv.dao.DuyetNhaTroDao;
import hutech.ksv.entity.ThongTinNhaTroEntity;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DuyetNhaTroService implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Autowired
	DuyetNhaTroDao duyetNhaTroDao;
	
	public List<ThongTinNhaTroEntity> getTatCaThongTinNhaTro() {
		return duyetNhaTroDao.getTatCacThongTinNhaTro();
	}
	
	public int duyetNhaTro(int maNT) {
		return duyetNhaTroDao.duyetNhaTro(maNT);
	}
	
}
